* {
  margin: 0;
  padding: 0; }

#switchPillow {
  width: 400px;
  height: 100vh;
  background-position: 0% 0%;
  position: absolute;
  left: 55%;
  margin-left: -300px;
  overflow: hidden;
  max-height: 812px;
  background-image: url(../img/luckyDraw/ld_bg.jpg);
  background-size: cover; }
  #switchPillow #logo {
    width: 100%;
    position: absolute;
    left: 75%;
    top: 5%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%); }
    #switchPillow #logo img {
      width: 50%;
      top: 8%; }
  #switchPillow #switchBtn {
    margin: 0;
    padding: 0;
    width: 100%;
    position: absolute;
    left: 50%;
    top: 12%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    z-index: 5; }
    #switchPillow #switchBtn div {
      color: white; }
      #switchPillow #switchBtn div i {
        color: white; }
    #switchPillow #switchBtn #turnRight {
      margin-left: 8%; }
  #switchPillow #switchArea {
    width: 100%;
    position: absolute;
    left: 50%;
    top: 8%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%); }
    #switchPillow #switchArea img {
      width: 100%; }
    #switchPillow #switchArea > div {
      width: 50%;
      position: absolute;
      top: 36%;
      left: 50%;
      -webkit-transform: translateX(-50%);
      transform: translateX(-50%); }
      #switchPillow #switchArea > div img {
        width: 100%; }
      #switchPillow #switchArea > div div {
        width: 100%;
        position: absolute;
        color: white;
        left: 80%;
        top: 130%;
        -webkit-transform: translateX(-50%);
        transform: translateX(-50%); }
  #switchPillow #tips {
    margin: 0;
    width: 100%;
    height: 20vh;
    position: absolute;
    top: 65%;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%); }
    #switchPillow #tips .divTips2 {
      height: 0.5rem;
      font-size: 0.15rem;
      color: white;
      text-align: center;
      margin-top: 0.375rem; }
  #switchPillow #allBtn {
    position: absolute;
    left: 50%;
    top: 80%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 100%; }
    #switchPillow #allBtn .btn {
      background-color: rgba(255, 0, 0, 0);
      border: 1px solid #ffff9f;
      color: #ffff9f; }
    #switchPillow #allBtn > div:first-of-type {
      margin-left: 3%; }
  #switchPillow #myModal {
    margin: 0;
    padding: 0;
    width: 400px;
    height: 100vh;
    position: absolute;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%); }
    #switchPillow #myModal .modal-dialog {
      margin: 0; }
    #switchPillow #myModal .modal-content {
      width: 400px;
      height: 80vh;
      margin-top: 10vh;
      background-image: url(../img/switchPillow/se_bg.jpg); }
      #switchPillow #myModal .modal-content .modal-body {
        padding: 0;
        margin: 0;
        padding-top: 1rem;
        position: relative; }
        #switchPillow #myModal .modal-content .modal-body .col-xs-10:not(.CongratsText) {
          border-bottom: 1px solid white;
          border-top: 1px solid white;
          height: 5px; }
        #switchPillow #myModal .modal-content .modal-body .col-xs-8 {
          margin-top: 10px;
          margin-bottom: 10px;
          text-align: center;
          color: white;
          letter-spacing: 0.45rem; }
        #switchPillow #myModal .modal-content .modal-body > .nowScore, #switchPillow #myModal .modal-content .modal-body .historyScore {
          font-weight: 600;
          font-size: 30px;
          color: #ffec8b; }
        #switchPillow #myModal .modal-content .modal-body .CongratsText {
          text-align: center;
          font-size: 14px;
          color: white; }
          #switchPillow #myModal .modal-content .modal-body .CongratsText .nowScore {
            font-weight: 600;
            font-size: 30px;
            color: #ffec8b; }
        #switchPillow #myModal .modal-content .modal-body #produceImg {
          width: 100%;
          position: absolute;
          top: 176%;
          left: 75%;
          -webkit-transform: translateX(-50%);
          transform: translateX(-50%); }
          #switchPillow #myModal .modal-content .modal-body #produceImg img {
            width: 50%; }
        #switchPillow #myModal .modal-content .modal-body #produceName {
          width: 100%;
          position: absolute;
          top: 300%;
          left: 55%;
          -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
          color: white; }
        #switchPillow #myModal .modal-content .modal-body #produceInfo {
          margin: 0;
          padding: 0;
          width: 90%;
          position: absolute;
          top: 370%;
          left: 50%;
          -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
          color: white;
          font-size: 0.75rem; }
      #switchPillow #myModal .modal-content .modal-footer {
        border: none; }
        #switchPillow #myModal .modal-content .modal-footer #closeBtn {
          position: absolute;
          left: 50%;
          top: 80%;
          -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
          background-color: rgba(255, 0, 0, 0);
          border: 1px solid #ffff9f;
          color: #ffff9f; }

@media (max-width: 768px) {
  #switchPillow {
    width: 100%;
    left: 0%;
    margin-left: 0px;
    background-size: cover; }
  #switchPillow #tips .divTips2 {
    height: 1rem;
    font-size: 0.625rem;
    color: white;
    text-align: center;
    margin-top: 1.75rem; }
  #switchPillow #myModal {
    width: 17.5rem; }
  #switchPillow #myModal .modal-content {
    width: 17.5rem;
    height: 26.25rem; }
  #switchPillow #myModal .modal-content .modal-body {
    width: 17.5rem;
    padding-top: 1.25rem; }
  #switchPillow #myModal .modal-content .modal-body .col-xs-8 {
    letter-spacing: 0.9rem; } }
